package com.terren.spider.handler;



public  interface ISpiderHandler<T> {
	
	/**
	 * 找到目标页链接
	 * @param urls
	 * @return
	 * @throws Exception
	 */
	public String[]  findUrl(String...urls) throws Exception;
	/**
	 * 找到目标页链接
	 * @return
	 * @throws Exception
	 */
	public String[]  findUrl() throws Exception;
	
	/**
	 * 抓取并分析目标页面
	 * @param urls
	 * @return
	 * @throws Exception
	 */
	public int parsePage(String... urls) throws Exception;
	
}
